package com.yangcangclub.trade.bean;

import java.math.BigDecimal;

/**
 * Created by user on 2017/2/27.
 */
public class TradeSummary{
    private Integer id;	//订单主键
    private String tradeNo;	//订单号
    private Integer payType;	//支付类型（0支付宝1微信公众号2微信app3储值卡4零元支付）
    private String transactionNo;	//交易流水号
    private String transactionAccount;	//交易账号（微信openid、支付宝buyer_email）
    private String payStatus;	//支付状态（P已支付U未支付）
    private java.util.Date payDate;	//支付日期
    private String source;	//订单来源（WeChat|Android|IOS）
    private BigDecimal tradeTotalPrice;	//订单总价=商品总价格+运费-折扣价格
    private BigDecimal productTotalPrice;	//商品总价格
    private BigDecimal freightPrice;	//运费
    private BigDecimal discountAmount; //折扣价格（订单总折扣）
    private BigDecimal shouldPrice;	//应付金额
    private BigDecimal realPrice;	//实付金额
    private String province;	//省
    private String city;	//市
    private String county;	//区
    private String contactName;	//收件人
    private String contactMobile;	//收件人联系电话
    private String contactAddress;	//收件人联系地址
    private String expressName;	//物流名称
    private Integer expressId;	//物流id
    private String expressNo;	//运单号
    private java.util.Date expressUpdateDate;	//物流更新时间
    private Integer userId;	//userId
    private Integer activityId;	//活动id
    private String status;	//交易状态（S待付款D待发货R已发货E已完成C已取消F已退款）
    private String userRemark;	//用户备注
    private String serviceRemark;	//客服备注（用于管理后台显示）
    private java.util.Date createDate;	//创建订单时间
    private java.util.Date endDate;	//结束时间
    private Integer lastUpdateUserId;	//最后更新者
    private java.util.Date lastUpdateDate;	//最后更新时间

    public TradeSummary(){
    }

    public TradeSummary(
            Integer id
    ){
        this.id = id;
    }

    public void setId(Integer value) {
        this.id = value;
    }

    public Integer getId() {
        return this.id;
    }
    public void setTradeNo(String value) {
        this.tradeNo = value;
    }

    public String getTradeNo() {
        return this.tradeNo;
    }
    public void setPayType(Integer value) {
        this.payType = value;
    }

    public Integer getPayType() {
        return this.payType;
    }
    public void setTransactionNo(String value) {
        this.transactionNo = value;
    }

    public String getTransactionNo() {
        return this.transactionNo;
    }
    public void setTransactionAccount(String value) {
        this.transactionAccount = value;
    }

    public String getTransactionAccount() {
        return this.transactionAccount;
    }
    public void setPayStatus(String value) {
        this.payStatus = value;
    }

    public String getPayStatus() {
        return this.payStatus;
    }
    public void setPayDate(java.util.Date value) {
        this.payDate = value;
    }

    public java.util.Date getPayDate() {
        return this.payDate;
    }
    public void setSource(String value) {
        this.source = value;
    }

    public String getSource() {
        return this.source;
    }
    public void setTradeTotalPrice(BigDecimal value) {
        this.tradeTotalPrice = value;
    }

    public BigDecimal getTradeTotalPrice() {
        return this.tradeTotalPrice;
    }
    public void setProductTotalPrice(BigDecimal value) {
        this.productTotalPrice = value;
    }

    public BigDecimal getProductTotalPrice() {
        return this.productTotalPrice;
    }
    public void setFreightPrice(BigDecimal value) {
        this.freightPrice = value;
    }

    public BigDecimal getFreightPrice() {
        return this.freightPrice;
    }
    public void setShouldPrice(BigDecimal value) {
        this.shouldPrice = value;
    }

    public BigDecimal getShouldPrice() {
        return this.shouldPrice;
    }
    public void setRealPrice(BigDecimal value) {
        this.realPrice = value;
    }

    public BigDecimal getRealPrice() {
        return this.realPrice;
    }
    public void setProvince(String value) {
        this.province = value;
    }

    public String getProvince() {
        return this.province;
    }
    public void setCity(String value) {
        this.city = value;
    }

    public String getCity() {
        return this.city;
    }
    public void setCounty(String value) {
        this.county = value;
    }

    public String getCounty() {
        return this.county;
    }
    public void setContactName(String value) {
        this.contactName = value;
    }

    public String getContactName() {
        return this.contactName;
    }
    public void setContactMobile(String value) {
        this.contactMobile = value;
    }

    public String getContactMobile() {
        return this.contactMobile;
    }
    public void setContactAddress(String value) {
        this.contactAddress = value;
    }

    public String getContactAddress() {
        return this.contactAddress;
    }
    public void setExpressName(String value) {
        this.expressName = value;
    }

    public String getExpressName() {
        return this.expressName;
    }
    public void setExpressId(Integer value) {
        this.expressId = value;
    }

    public Integer getExpressId() {
        return this.expressId;
    }
    public void setExpressNo(String value) {
        this.expressNo = value;
    }

    public String getExpressNo() {
        return this.expressNo;
    }
    public void setExpressUpdateDate(java.util.Date value) {
        this.expressUpdateDate = value;
    }

    public java.util.Date getExpressUpdateDate() {
        return this.expressUpdateDate;
    }
    public void setUserId(Integer value) {
        this.userId = value;
    }

    public Integer getUserId() {
        return this.userId;
    }
    public void setActivityId(Integer value) {
        this.activityId = value;
    }

    public Integer getActivityId() {
        return this.activityId;
    }
    public void setStatus(String value) {
        this.status = value;
    }

    public String getStatus() {
        return this.status;
    }
    public void setUserRemark(String value) {
        this.userRemark = value;
    }

    public String getUserRemark() {
        return this.userRemark;
    }
    public void setServiceRemark(String value) {
        this.serviceRemark = value;
    }

    public String getServiceRemark() {
        return this.serviceRemark;
    }
    public void setCreateDate(java.util.Date value) {
        this.createDate = value;
    }

    public java.util.Date getCreateDate() {
        return this.createDate;
    }
    public void setEndDate(java.util.Date value) {
        this.endDate = value;
    }

    public java.util.Date getEndDate() {
        return this.endDate;
    }
    public void setLastUpdateUserId(Integer value) {
        this.lastUpdateUserId = value;
    }

    public Integer getLastUpdateUserId() {
        return this.lastUpdateUserId;
    }
    public void setLastUpdateDate(java.util.Date value) {
        this.lastUpdateDate = value;
    }

    public java.util.Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }
}
